import 'package:flutter/material.dart';

class VerifyPage extends StatefulWidget {
  const VerifyPage({super.key});

  @override
  State<VerifyPage> createState() => _VerifyPageState();
}

class _VerifyPageState extends State<VerifyPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("手机号验证"),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            const Text("请输入验证码"),
            ElevatedButton(
              onPressed: () {
                // 替换路由
                Navigator.pushReplacementNamed(context, "/login/password");
              },
              child: const Text("确定"),
            )
          ],
        ),
      ),
    );
  }
}
